package edu.tongji.engine.db.dao;

import java.util.List;

import edu.tongji.engine.def.Node;

public interface INodeDao {

	public Node getNode(String name, String processName);
	
	public List<Node> getNodes(String processName);
	
	public Node getNodes(Long id);
	
	public boolean saveNode(Node node);
	
	public boolean deleteNode(Node node);
	
	public boolean deleteNode(String name, String processName);
	
	public boolean deleteAllNodes();
}
